Null "Enabled" property when using Get-ADObject

Does anyone know why when using the Get-ADObject cmdlet on a user or group, the returning object always has a null value for it's "Enabled" property?

Get-ADUser and Get-ADGroup both seem to return correct values for this property on objects.

Thanks,

CC

July 22nd, 2015 12:28pm

Hi,

That property isn't available to Get-ADObject:

http://social.technet.microsoft.com/wiki/contents/articles/12103.active-directory-get-adobject-default-and-extended-properties.aspx

This article shows how the property is calculated (see the Get-ADUser or Get-ADComputer sections):

http://social.technet.microsoft.com/wiki/contents/articles/12031.active-directory-powershell-ad-module-properties.aspx

Free Windows Admin Tool Kit Click here and download it now
July 22nd, 2015 1:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics